<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<link rel="stylesheet" href="${pageContext.request.contextPath}/jquery-ui/jquery-ui.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/main.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/datatable.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/themes/icon.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/infotable.css" />
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.dataTables.chs.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/jquery-ui/jquery-ui.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/api.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/memberMain.js"></script>

<script type="text/javascript">
	$(function(){	
		var memberLoginName= '${memberLoginName}';		    
       	var table = $('#bid_rcord_grid').DataTable({
   			paging: true,
   			pageLength: 10,
   			pagingType: 'full_numbers',
   			lengthChange: false,
   			searching: false,
   			info: false,
   			jQueryUI: false,
   			ordering: false,
   			autoWidth: false,
   			columns: [	                
   				{data:'tender_title', width:'40%', className: 'dt-body-left'},
   				{data:'tender_no', width:'10%', className: 'dt-body-left'},
   				{data:'status_name', width:'10%', className: 'dt-body-left'},
   				{data:'bid_date', width:'22%', className: 'dt-body-left'},
   				{data:'strbid_flag', width:'6%', className: 'dt-body-left'},			
   				{data:'tender_pattern_name', width:'12%', className: 'dt-body-left'}
   			], 			
   			serverSide: true,
   			processing: true,
   			ajax: {
   				url: '${pageContext.request.contextPath}/api/TenderBidrcordSearchAPI.json',
   				type: 'POST',
   				data: function(d) {				
   				    var paramData = {};
   				    paramData.member_login_name=memberLoginName;				    
   				    d.param = JSON.stringify(paramData);
   				},
   				dataSrc: 'tenderbids'
   			} 
   		});	
	}); 
		
</script>   
<div style="width: 760px; height:560px; margin: 0 auto; margin-top: 10px; border-radius:10px; border:1px solid #d4d4d4;;">
   <div style="margin-top: 5px;padding-bottom: 5px;padding-left:15px;float:left; border-bottom:1px solid #d4d4d4;">
        <span  style="font-size:15px;">报名记录</span>	         
      </div>
   <table id="bid_rcord_grid">
   	<thead>
           <tr>            
             <th>招标名称</th>
             <th>招标编号</th>
             <th>状态</th>
             <th>报名时间</th>
             <th>入围</th>
             <th>操作</th>
           </tr>
         </thead>
   </table>     
</div>
